package com.c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author wangxiangli
 * @create 2022-12-28-22:05
 */
@Data
@TableName("t_setmeal")
@Accessors(chain = true)
public class Setmeal implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;
    @TableField("name")
    private String name;
    @TableField("code")
    private String code;
    @TableField("helpCode")
    private String helpCode;
    @TableField("sex")
    private String sex;//套餐适用性别：0不限 1男 2女
    @TableField("age")
    private String age;//套餐适用年龄
    @TableField("price")
    private BigDecimal price;//套餐价格
    @TableField("remark")
    private String remark;
    @TableField("attention")
    private String attention;
    @TableField("img")
    private String img;//套餐对应图片存储路径
    @TableField(exist = false)
    private List<CheckGroup> checkGroups;//体检套餐对应的检查组，多对多关系
}
